<template>
  <div class='courseEditor'>
    <create-or-update :isEdit="true" :courseId="courseId"/>
  </div>
</template>
<script lang='ts'>
import Vue from 'vue'
import createOrUpdate from './components/createOrUpdate.vue'
export default Vue.extend({
  name: 'courseEditor',
  components: { createOrUpdate },
  props: {
    courseId: {
      type: [String, Number]
    }
  }
})
</script>
<style lang='scss' scoped>

</style>
